package cn.zc.student.service.service;

import cn.zc.student.entity.Dto.StudentUserDto;
import cn.zc.student.entity.StudentUser;
import cn.zc.student.entity.VO.StudentUserVO;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 学生用户表 服务类
 * </p>
 *
 * @author keno
 * @since 2022-02-23
 */
public interface StudentUserService extends IService<StudentUser> {

    /**
     * 注册学生用户
     * @param studentUserDto
     */
    void createStudentUser(StudentUserDto studentUserDto);

    /**
     * 用户登录
     * @param userName
     * @param passWord
     * @return
     */
    StudentUserVO studentPasswordLogin(String userName, String passWord);
}
